package com.chixing.service;

import com.chixing.entity.OrderTransactions;
import com.baomidou.mybatisplus.extension.service.IService;
import com.chixing.utils.Result;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author smith
 * @since 2025-09-30
 */
public interface IOrderTransactionsService  {
    public Result save(OrderTransactions orderTransactions);

    public Result getOrderDetailsById(Long orderId);

    public Result getOrderDetailsByNumber(String orderNumber);

    // 根据流水ID查询完整的订单+流水+详情信息
    public Result getOrderAllByTransactionsId(Long orderTransactionsId);
}
